package k8ssvc

import (
	"gluenet/internal/agent/cache/object"
	"gluenet/internal/agent/depend"
	"gluenet/internal/agent/driver/k8sdriver"
	v1 "gluenet/pkg/log/v1"
)

func init() {
	depend.Provide(NewService)
}

type Service struct {
	logger  v1.Logger
	kd      k8sdriver.K8sDriver
	objects object.Interface
}

func NewService(
	kd k8sdriver.K8sDriver,
	objs object.Interface,
) *Service {

	return &Service{
		logger:  v1.NewLogger(""),
		kd:      kd,
		objects: objs,
	}
}
